<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:head>
	<title>Sistema Divisão de Patrimônio</title>
	<h:outputStylesheet name="leo.css" library="css" />
	<link rel="shortcut icon" href="resources/img/favicon1.ico" />
</h:head>


<body>
	<h:form>
		<p:growl id="atention" life="5000">

		<div id="menubar">

			<h:graphicImage name="img/siscon.png" />
			<br /><br />
			<p:separator />

				
		</div>

<!-- 		Menu com ícone -->
		<div id="conteudo" style="float: center; text-align: right;">
					
			<br />
			<p:fieldset legend="Aviso" style="float: left; text-align: left; font-family: sans-serif;
				text-align: justify; font-size: 16px;">
			
				<h:outputText id="mensagem" value="#{mensagemBean.mensagem.descricao}">
				</h:outputText>
	
				
<!-- 													Escreva aqui seu texto -->
			Escreva Seu Texto Aqui. 
			
			<br /><br />
						
									
			</p:fieldset><br />
								
			<h:commandLink action="ListFuncionario.xhtml?faces-redirect=true" >
				<h:graphicImage value="/resources/img/servidor.png" title="Servidor" style="width: 100px;" />
			</h:commandLink>&nbsp;&nbsp;&nbsp;
			
			<h:commandLink action="formCadSetor.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/img/setor.png" title="Setor" style="width: 100px;" />
			</h:commandLink>&nbsp;&nbsp;&nbsp;
			
			<h:commandLink action="formCadEmpenho.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/img/empenho.png" title="Empenho" style="width: 100px;" />
			</h:commandLink>&nbsp;&nbsp;&nbsp;
			
			<h:commandLink action="formCadNotaFiscal?faces-redirect=true">
				<h:graphicImage value="/resources/img/notafiscal.png" title="Nota Fiscal" style="width: 100px;" />
			</h:commandLink><br /><br /><br />
			
			<h:commandLink action="formCadFornecedor.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/img/fornecedor.png" title="Fornecedor" style="width: 100px;" />
			</h:commandLink>&nbsp;&nbsp;&nbsp;
			
			<h:commandLink action="formCadPatrimonio.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/img/patrimonio.png" title="Patrimônio Público" style="width: 100px;" />
			</h:commandLink>&nbsp;&nbsp;&nbsp;
			
			<h:commandLink action="formCadProduto.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/img/item.png" title="Produto" style="width: 100px;" />
			</h:commandLink>&nbsp;&nbsp;&nbsp;
						
			<h:commandLink action="index.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/img/movimentacao.png" title="Transferência de Patrimônio" style="width: 100px;" />
			</h:commandLink>
											
		</div><p:separator /><br /><br />

		<div id="usuarioLogado">
			<h:outputText value="Usuário: "	rendered="#{empty funcionarioBean.funcionario.login}" />
			<h:outputText value="#{loginBean.funcionario.nome}" style="text-decoration: underline;" />
		</div><br /><br /><br />
		
		<div align="center">
			<h:commandLink action="index.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/img/sair.png" title="Sair Do Sistema" style="width: 80px; float: center; text-align: center;" />
			</h:commandLink>
		</div>
		
<!-- 				<p:messages id="msg" /> -->

		<p:dialog header="Deseja Sair do Sistema ?" modal="true"
			showEffect="fade" hideEffect="fade" widgetVar="dlg">
			<h:panelGrid columns="2" id="display">
				<p:commandButton value="SIM"
					action="index.xhtml?faces-redirect=true" />
				<p:commandButton value="NAO"
					action="home.xhtml?faces-redirect=true" />
			</h:panelGrid>
		</p:dialog>

		<div id="rodape">
			Copyright 2012<br /> BY:
			LEONARDO HOLANDA (95)9119-7702<br /> VERSÃO 3.0
		</div>

	</p:growl>
	</h:form>
</body>
</html>
